package com.ziyucoding.springboot.labs.lab4.event.events;

/**
 * 消息事件
 *
 * @author ziyucoding
 * @date 2022-10-25
 **/
public class MsgEvent {

    /**
     * 订单号
     */
    private String orderId;

    public MsgEvent(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "MsgEvent{" +
                "orderId='" + orderId + '\'' +
                '}';
    }
}
